package com.media.feign;

import com.common.domain.pojo.Result;
import com.common.feign.OpenFeignRequestPrefix;
import com.media.domain.pojo.Users;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;

@FeignClient(name = "eselect-user-service")
public interface UserFeignClient {


    // 查询用户信息 根据用户唯一标识
    @GetMapping(OpenFeignRequestPrefix.USER_SERVICE + "/detail/infoByUniqueIdentification")
    Result<Users> querySelectByUniqueIdentification(@RequestParam("UniqueIdentification") Object UniqueIdentification);

}
